package com.imooc.reader.management.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.imooc.reader.management.entity.Book;

import java.util.Map;

public interface BookService {
    IPage<Map> selectBookMap(Integer page, Integer rows);

    Book createBook(Book book);

    Book updateBook(Book book);

    Book deleteBook(Long bookId);

    void updateScore();
}
